package com.order.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.order.service.OrderMemberService;

@RestController
public class OrderController {
	
	@Autowired
	private OrderMemberService orderMemberService;

	@RequestMapping("/getOederMemberAll")
	public List<String> getOederMemberAll(){
		
		return	orderMemberService.getOrderMemberAll();
	}
	
	
	@RequestMapping("/getOrderServiceApi")
	public String getOrderServiceApi() {
		return "get Order Service success";
	}
}
